<?php
defined('_JEXEC') or die('Restricted access');
?>
<!doctype html>
<html>
    <head>
        <!--<title>Test</title>-->
        <!--<link rel="stylesheet" type="text/css" href="<?php echo URL . CSS; ?>default.css" />-->	
        <!--<script type="text/javascript" src="<?php echo URL . JS; ?>jquery-1.7.2.min.js"></script>-->
        <script type="text/javascript" src="<?php echo URL . JS; ?>core.js"></script>
    </head>
    <body>
        <?php Session::init(); ?>
        <div id="header">

            <?php if (Session::get('loggedIn') == false): ?>
                <a href="<?php echo URL; ?>index">Index</a>
                <a href="<?php echo URL; ?>help">Help</a>
            <?php endif; ?>	
            <?php if (Session::get('loggedIn') == true): ?>
                <a href="<?php echo URL; ?>dashboard">Dashboard</a>

                <?php if (Session::get('role') == 'owner'): ?>
                    <a href="<?php echo URL; ?>user">Users</a>
                <?php endif; ?>

                <a href="<?php echo URL; ?>dashboard/logout">Logout</a>	
            <?php else: ?>
                <a href="<?php echo URL; ?>login">Login</a>
            <?php endif; ?>
        </div>

        <div id="content">

